// © 2009 Microsoft Corporation.  All rights reserved.
using Microsoft.InformationSecurity.ISRM.TaskManagment.Classes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;

namespace UnitTests
{
    
    
    /// <summary>
    ///This is a test class for TaskTemplateTest and is intended
    ///to contain all TaskTemplateTest Unit Tests
    ///</summary>
    [TestClass()]
    public class TaskTemplateTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for TaskName
        ///</summary>
        [TestMethod()]
        public void TaskNameTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.TaskName = expected;
            actual = target.TaskName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for SubTasks
        ///</summary>
        [TestMethod()]
        public void SubTasksTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            List<TaskTemplate> expected = null; // TODO: Initialize to an appropriate value
            List<TaskTemplate> actual;
            target.SubTasks = expected;
            actual = target.SubTasks;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for NotificationSchedule
        ///</summary>
        [TestMethod()]
        public void NotificationScheduleTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            NotificationSchedule expected = null; // TODO: Initialize to an appropriate value
            NotificationSchedule actual;
            target.NotificationSchedule = expected;
            actual = target.NotificationSchedule;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Notes
        ///</summary>
        [TestMethod()]
        public void NotesTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            string expected = string.Empty; // TODO: Initialize to an appropriate value
            string actual;
            target.Notes = expected;
            actual = target.Notes;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LastUpdatedDateTime
        ///</summary>
        [TestMethod()]
        public void LastUpdatedDateTimeTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            DateTime expected = new DateTime(); // TODO: Initialize to an appropriate value
            DateTime actual;
            target.LastUpdatedDateTime = expected;
            actual = target.LastUpdatedDateTime;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for LastUpdatedBy
        ///</summary>
        [TestMethod()]
        public void LastUpdatedByTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            User expected = null; // TODO: Initialize to an appropriate value
            User actual;
            target.LastUpdatedBy = expected;
            actual = target.LastUpdatedBy;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Group
        ///</summary>
        [TestMethod()]
        public void GroupTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            Group expected = null; // TODO: Initialize to an appropriate value
            Group actual;
            target.Group = expected;
            actual = target.Group;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for DueDateDuration
        ///</summary>
        [TestMethod()]
        public void DueDateDurationTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            int expected = 0; // TODO: Initialize to an appropriate value
            int actual;
            target.DueDateDuration = expected;
            actual = target.DueDateDuration;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Category
        ///</summary>
        [TestMethod()]
        public void CategoryTest()
        {
            TaskTemplate target = new TaskTemplate(); // TODO: Initialize to an appropriate value
            Category expected = null; // TODO: Initialize to an appropriate value
            Category actual;
            target.Category = expected;
            actual = target.Category;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for TaskTemplate Constructor
        ///</summary>
        [TestMethod()]
        public void TaskTemplateConstructorTest()
        {
            TaskTemplate target = new TaskTemplate();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
